package com.lee.forum.model;

import lombok.Data;

import java.util.Date;
@Data
public class Article {
    private Long id;

    private Long boarId;

    private Long userId;

    private String title;

    private Integer visitCount;

    private Integer replyCount;

    private Integer likeCount;

    private Byte state;

    private Byte deleteState;

    private Date createTime;

    private Date updateTime;

    private String content;

    // 判断是否为作者
    private Boolean own;

    // 拓展所属作者字段
    private User user;
    // 拓展所属板块字段
    private Board board;

    // 拓展分数属性
    private double score;
}